package com.tets_09_06;

public class DoubleAdpter {
    private Cat c;
    private Dog d;

    public DoubleAdpter() {
        c=new ConCat();
        d=new ConDog();
    }
    public void cry(){
        d.cry();
    }
    public void catchMouse(){
        c.catchMouse();
    }
}
